<script>
// 2.1 导入
import MyButton from './components/Button.vue'


export default {
  name: 'App',
  // components: {
  //   MyButton: MyButton
  // }

  //2.2 注册组件 
  components: {
    MyButton
  }

}

</script>

<template>
  <!-- 2.3使用组件 -->
  <MyButton></MyButton>
</template>


<style scoped></style>